﻿using Pibby.Core;
using Pibby.Core.Persistence;

namespace Pibby
{
	public class PodcastRepositoryFactory : IPodcastRepositoryFactory
	{
		private string _connectionString;

		public PodcastRepositoryFactory(string connection)
		{
			this._connectionString = connection;
		}

		public IPodcastRepository Create()
		{
			return new PodcastRepository(this._connectionString);
		}
	}
}
